package com.gxc.mall.user.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author GongXincheng
 * @since 2019-09-09 11:12
 */
@Configuration
public class TestRabbitQueueConfigBean {

    public static final String TEST_MESSAGE_OBJECT_QUEUE_NAME = "mall.test.message.object";

    @Bean
    public Queue testMessageQueue()  {
        return new Queue(TEST_MESSAGE_OBJECT_QUEUE_NAME);
    }

}
